package com.gss.entity.sys.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author DYang
 * @date 2023/5/31
 */
@ApiModel("用户关联部门")
@Data
@TableName("sys_user_dept")
public class SysUserDept {

    @ApiModelProperty("自增长id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("部门id")
    private Integer deptId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("是否启用 0：启用 1:停用")
    private Integer enable;

}
